<template>
    <div style="width: 100%;">
        <div style="min-width:1680px">

            <PC_CAR_TEAM v-if="user_data == 'PC_CAR_TEAM'"></PC_CAR_TEAM>
            <PC_TRAVEL_AGENCY v-if="user_data != 'PC_CAR_TEAM'"></PC_TRAVEL_AGENCY>
            <!-- <PC_TRAVEL_AGENCY>
                <template #first>
                    <div>hello</div>
                </template>
</PC_TRAVEL_AGENCY> -->
        </div>


        <!-- <PC_TRAVEL_AGENCY ></PC_TRAVEL_AGENCY> -->
    </div>
</template>

<script setup>
import { ref, reactive, onMounted } from 'vue'
import PC_CAR_TEAM from './PC_CAR_TEAM.vue'
import PC_TRAVEL_AGENCY from './PC_TRAVEL_AGENCY.vue'

onMounted(() => {
    let reload = localStorage.getItem('reload')
    user_data.value = localStorage.getItem('loginSysRole')
    if (reload == 0) {
        location.reload();    // 重新加载当前页面
        localStorage.setItem('reload', '1')
    }
})
const user_data = ref('')




</script>

<style scoped lang='scss'></style>
